package cc.ufinity.networkdiagnose.manager;

public interface MessageWhat {
	public static final String INDEX_FLAG_NAME = "FLAG";
	public static final int INDEX_FLAG_VALUE = 0x7f01;
	public static final int DONE = 0x7f020000;
	public static final int DO_NEXT_TEST = 0x7f080000;
	
	public static final int NETWORK_INVALID = 0x7f02;

	// Tel state msgs
	public static final int TEL_STATE_SUCCESS = 0x7f010000;

	// TASK messages
	public static final int TASK_FINISHED = 0x7f080001;
	public static final int TASK_BEGIN = 0x7f080002;
	public static final int TASK_LIST_LOADED_SUCCESS = 0x7f080003;
	public static final int TASK_LIST_LOADED_FAILED = 0x7f080005;
	public static final int TASK_APINFO_LOADED = 0x7f080004;

	public static final int ACCOUNT_INFO_INVALID = 0x7f060000;
	public static final int ACCOUNT_LOGIN_INVALID = 0x7f060001;

	// WIFI Messages
	public static final int WIFI_RECEIVE_LIST = 0x7f020001;
	public static final int WIFI_SUCESS_CONNECTED = 0x7f020002;
	public static final int WIFI_CONNECT_TIMEOUT = 0x7f020005;
	public static final int WIFI_SELECTED = 0x7f020006;

	// FTP Messages
	public static final int FTP_UPLOAD_DONE = 0x7f030001;
	public static final int FTP_DOWNLOAD_DONE = 0x7f030002;
	public static final int FTP_CONNECT_TIMEOUT = 0x7f030003;
	public static final int FTP_ACCOUNT_INVALID = 0x7f030004;
	public static final int FTP_UPLOAD_FAILED = 0x7f030005;
	public static final int FTP_LOGIN_FAILED = 0x7f030006;
	public static final int FTP_UPLOAD_TASK_DONE = 0x7f030007;

	// HTTP Messages
	public static final int HTTP_PAGELOAD_SUCCESS = 0x7f040001;
	public static final int HTTP_PAGELOAD_FAILED = 0x7f040002;

	// Ping Messages
	public static final int PING_SUCCESS = 0x7f050001;
	public static final int PING_FAILED = 0x7f050002;

	// web auth
	public static final int LOGIN_SUCCESS = 0x7f09000;
	public static final int LOGOUT_SUCCESS = 0x7f09001;
	public static final int LOGIN_FAILED = 0x7f09002;
	public static final int LOGOUT_FAILED = 0x7f09003;

	//PEAP Messages
	public static final int PEAP_NO_RESULT= 0x7f100001;
	public static final int PEAP_INPUT_AUTHINFO = 0x7f100002;
	public static final int PEAP_SUCESS_DISCONNECTED = 0x7f100003;
	public static final int PEAP_FAILD_DISCONNECTED = 0x7f100004;
	public static final int PEAP_SUCESS_CONNECTED = 0x7f100005;
	public static final int PEAP_FAILD_CONNECTED = 0x7f100006;

}
